<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.concurrent.TimeUnit" %>
<%@ page language="java" 
	contentType="text/html; 
	charset=UTF-8"
	pageEncoding="UTF-8"
	import="connectMysql.TestConnect"
	%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
		
<body>
		<% String workid = request.getParameter("work_id"); %>
		<% String type = request.getParameter("type"); %>
        <% String userid = request.getParameter("userid"); %>
        <% String class_name=request.getParameter("class_name");%>
		<% 
			String[] homework_data=connectMysql.TestConnect.get_homework_item(class_name, Integer.parseInt(workid));
	    	String startTime = homework_data[0]; 
	    	String endTime = homework_data[1]; 
	    	String txt=homework_data[2];
	    %>
	    
	    <script type="text/javascript">
	    	alert("<%=startTime%>");
	    	
	    </script>
</body>
</html>


